package com.youngmanster.collectionlibrary.db.helper;

/**
 * Created by yangyan
 * on 2018/4/1.
 */

public interface  SharePreferenceHelper {
    void saveByNameAndKeyWithSP(String name, String key, Object object);
    void saveByKeyWithSP(String key,Object object);
    <T> T queryByNameAndKeyWithSP(String name, String key, Class<T> clazz);
    <T> T queryByKeyWithSP(String key, Class<T> clazz);
}
